package io.choerodon.iam.infra.constant;

/**
 * @author scp
 * @since 2022/9/22
 * 异常code
 */
public class ExceptionConstants {

    /**
     * 公用异常code
     */
    public static class CommonErrorCode {
        private CommonErrorCode() {
        }

        public static final String IAM_OBJECTVERSIONNUMBER_NULL = "iam.objectVersionNumber.null";
        public static final String IAM_CURRENTUSER_NULL = "iam.currentUser.null";
        public static final String IAM_USER_NOT_LOGIN = "iam.user.not.login";
        public static final String IAM_OBJECT_RESOURCE_IN_OTHER_TENANT = "iam.object.resource.in.other.tenant";


    }

    /**
     * 用户异常code
     */
    public static class UserErrorCode {
        private UserErrorCode() {
        }

        public static final String IAM_USER_NOT_EXIST = "iam.user.not.exist";
        public static final String IAM_USER_ID_NOT_EQUALS = "iam.user.id.not.equals";
        public static final String IAM_USER_ID_IS_NULL = "iam.user.id.is.null";
        public static final String IAM_USER_REALNAME_EMPTY = "iam.user.realName.empty";
        public static final String IAM_USER_EMAIL_EMPTY = "iam.user.email.empty";
        public static final String IAM_USER_EMAIL_ILLEGAL = "iam.user.email.illegal";
        public static final String IAM_USER_PASSWORD_EMPTY = "iam.user.password.empty";
        public static final String IAM_USER_ROLES_EMPTY = "iam.user.roles.empty";
        public static final String IAM_USER_ROLEID_NULL = "iam.user.roleId.null";
        public static final String IAM_EMAIL_ALREADY_EXISTS_IN_IAM = "iam.email.already.exists.in.iam";
        public static final String IAM_USER_EMAIL_NOT_EXISTED = "iam.user.email.not.existed";
        public static final String IAM_EMAIL_CHECK_GITLAB_EMAIL_RETURN_EMPTY = "iam.email.check.gitlab.email.return.empty";
        public static final String IAM_EMAIL_ALREADY_EXISTS_IN_GITLAB = "iam.email.already.exists.in.gitlab";
        public static final String IAM_EMAIL_ALREADY_NOT_EXISTS_IN_GITLAB = "iam.email.already.not.exists.in.gitlab";
        public static final String IAM_USER_INFO_UPDATE = "iam.user.info.update";
        public static final String IAM_USER_NOT_PROJECT_MEMBER = "iam.user.not.project.member";
        public static final String HIAM_WARN_USER_NOTFOUND = "hiam.warn.user.notFound";
        public static final String IAM_LDAP_USER_CAN_NOT_UPDATE_PASSWORD = "iam.ldap.user.can.not.update.password";
        public static final String IAM_ORGANIZATIONUSERSERVICE_ENABLEUSER_EVENT = "iam.organizationUserService.enableUser.event";
        public static final String IAM_ORGANIZATIONUSERSERVICE_DISABLEUSER_EVENT = "iam.organizationUserService.disableUser.event";
        public static final String IAM_ORIGINAL_PASSWORD_NOT_SAME = "iam.original.password.not.same";
        public static final String IAM_USER_ADMIN_SIZE = "iam.user.admin.size";
        public static final String IAM_USER_PHONE_EXIST = "iam.user.phone.exist";
        public static final String IAM_USER_PHONE_EMPTY = "iam.user.phone.empty";
        public static final String IAM_USER_LOGIN_NAME_ILLEGAL = "iam.user.login.name.illegal";
        public static final String IAM_USER_LOGIN_NAME_EXIST = "iam.user.login.name.exist";
        public static final String IAM_USER_LOGIN_NAME_NOT_EXIST = "iam.user.login.name.not.exist";
        public static final String IAM_USER_TENANT_EMPTY = "iam.user.tenant.empty";
        public static final String IAM_ROLE_ID_ILLEGAL = "iam.role.id.illegal";
        public static final String IAM_USER_PHOTO_SAVE = "iam.user.photo.save";
        public static final String IAM_USER_VALIDATION_FIELDS_EMPTY = "iam.user.validation.fields.empty";
        public static final String IAM_USER_PASSWORD_SAME = "iam.user.password.same";
        public static final String IAM_USER_UPDATE_EXTERNAL = "iam.user.update.external";
        public static final String IAM_USER_PASSWORD_LENGTH_OUT_OF_SETTING = "iam.user.password.length.out.of.setting";

    }

    /**
     * 成员角色异常code
     */
    public static class RoleErrorCode {
        private RoleErrorCode() {
        }

        public static final String IAM_ROLE_TYPE_ERROR = "iam.role.type.error";
        public static final String IAM_BUILT_IN_ROLE_NOT_BE_EDIT = "iam.role.built.in.not.be.edit";
        public static final String IAM_ROLE_ID_NOT_BE_NULL = "iam.role.id.not.be.null";
        public static final String IAM_DELETE_ENABLED_ROLE_FAILED = "iam.role.enabled.can.not.delete";
        public static final String IAM_ROLE_PERMISSION_DATA_FIX = "iam.role.permission.data.fix";
        public static final String IAM_ROLE_NOT_EXIST = "iam.role.not.exist";
        public static final String IAM_ROLE_CODE_EXISTED = "iam.role.code.existed";
        public static final String IAM_ROLE_CODE_MORE_THAN_ONE = "iam.role.code.more.than.one";
        public static final String IAM_ROLE_CODE_NOT_EXIST = "iam.role.code.not.exist";
        public static final String IAM_ROLE_LEVEL_ILLEGAL = "iam.role.level.illegal";
        public static final String IAM_ROLE_DISABLED = "iam.role.disabled";
        public static final String IAM_ROLE_ORG_ILLEGAL = "iam.role.org.illegal";
    }

    /**
     * tenant异常code
     */
    public static class TenantErrorCode {
        private TenantErrorCode() {
        }

        public static final String IAM_TENANT_NOT_EXIST = "iam.tenant.not.exist";
        public static final String IAM_TENANT_CONFIG_NOT_EXIST = "iam.tenant.config.not.exist";
        public static final String IAM_TENANT_CONFIG_MULTIPLE = "iam.tenant.config.multiple";
        public static final String IAM_TENANT_NOT_ENABLE = "iam.tenant.not.enable";
        public static final String IAM_TENANT_CONFIG_INSERT = "iam.tenant.config.insert";
        public static final String IAM_TENANT_CONFIG_UPDATE = "iam.tenant.config.update";
        public static final String IAM_TENANT_NAME_UPDATE = "iam.tenant.name.update";
        public static final String IAM_ORGANIZATION_USER_NUM_MAX = "iam.organization.user.num.max";
        public static final String IAM_TENANT_PARAM_IS_NULL = "iam.tenant.param.is.null";
        public static final String IAM_TENANT_ID_IS_NULL = "iam.tenant.id.is.null";
        public static final String IAM_TENANT_ID_NOT_EQUALS = "iam.tenant.id.not.equals";
        public static final String IAM_TENANT_PARAM_USER_ID_IS_NULL = "iam.tenant.param.user.id.is.null";
    }

    /**
     * tenant异常code
     */
    public static class ClientErrorCode {
        private ClientErrorCode() {
        }

        public static final String IAM_CLIENT_ORGANIZATIONID_NOT_SAME = "iam.client.organizationId.not.same";
        public static final String IAM_CLIENT_NOT_EXIST = "iam.client.not.exist";
        public static final String IAM_CLIENTRESOURCE_CREATE = "iam.clientResource.create";
        public static final String IAM_CLIENT_MEMBERROLE_UPDATE_EVENT = "iam.client.memberRole.update.event";
    }

    /**
     * project异常code
     */
    public static class ProjectErrorCode {
        private ProjectErrorCode() {
        }

        public static final String IAM_PROJECTTYPE_INSERT = "iam.projectType.insert";
        public static final String IAM_PROJECTTYPE_NOT_EXIST = "iam.projectType.not.exist";
        public static final String IAM_PROJECTTYPE_UPDATE = "iam.projectType.update";
        public static final String IAM_PROJECTTYPE_CODE_ILLEGAL = "iam.projectType.code.illegal";
        public static final String IAM_PROJECTTYPE_CODE_EXISTED = "iam.projectType.code.existed";
        public static final String IAM_PROJECT_NAME_EMPTY = "iam.project.name.empty";
        public static final String IAM_PROJECT_NAME_INVALID = "iam.project.name.invalid";
        public static final String IAM_PROJECT_CLIENT_SAVE = "iam.project.client.save";
        public static final String IAM_PROJECT_NOT_EXIST = "iam.project.not.exist";
        public static final String IAM_PROJECT_CREATE = "iam.project.create";
        public static final String IAM_PROJECT_CATEGORY_NOT_EXIST = "iam.project.category.not.exist";
        public static final String IAM_PROJECT_CATEGORY_EMPTY = "iam.project.category.empty";
        public static final String IAM_PROJECT_DEVOPS_COMPONENT_CODE_NULL = "iam.project.devops.component.code.null";
        public static final String IAM_PROJECT_DEVOPS_COMPONENT_CODE_INVALID = "iam.project.devops.component.code.invalid";
        public static final String IAM_PROJECT_CODE_START_WITH_TRIM = "iam.project.code.start.with.trim";
        public static final String IAM_PROJECT_CODE_END_WITH_TRIM = "iam.project.code.end.with.trim";
        public static final String IAM_PROJECT_NAME_REGEX = "iam.project.name.regex";
        public static final String IAM_ORGANIZATIONPROJECTSERVICE_ENABLEORDISABLEPROJECT = "iam.organizationProjectService.enableOrDisableProject";
        public static final String IAM_PROJECT_TYPE = "iam.project.type";
        public static final String IAM_CHOOSE_LEAST_ONE_CATEGORY = "iam.project.choose.least.one.category";
        public static final String IAM_PROJECT_NAME_SIZE = "iam.project.name.size";
        public static final String IAM_ORGANIZATIONPROJECTSERVICE_UPDATEPROJECT_EVENT = "iam.organizationProjectService.updateProject.event";
        public static final String IAM_ROLE_NOT_FOUND_BY_LABEL = "iam.role.not.found.by.label";
        public static final String IAM_PROJECT_MAP_CATEGORY_INSERT = "iam.project.map.category.insert";
        public static final String IAM_PROJECTSERVICE_UPDATE_EVENT = "iam.projectService.update.event";
        public static final String IAM_PROJECT_ROLE_NOT_EXISTED = "iam.project.role.not.existed";
        public static final String IAM_USER_FEIGN_AGILE_PROJECTIDS_EMPTY = "iam.projectIds.empty";
        public static final String IAM_PROJECT_MEMBER_PERMISSION_CREATE = "iam.project.member.permission.create";
        public static final String IAM_PROJECT_ID_NULL = "iam.project.id.null";
        public static final String IAM_PROJECT_STAR_CREATE = "iam.project.star.create";
        public static final String IAM_PROJECT_STAR_DELETE = "iam.project.star.delete";
        public static final String IAM_PROJECT_CODE_EXIST = "iam.project.code.exist";


    }

    /**
     * 快速链接异常code
     */
    public static class QuickLinkErrorCode {
        private QuickLinkErrorCode() {
        }

        public static final String IAM_QUICK_LINK_CREATE = "iam.quick.link.create";
        public static final String IAM_QUICK_LINK_UPDATE = "iam.quick.link.update";
        public static final String IAM_QUICK_LINK_DELETE = "iam.quick.link.delete";
        public static final String IAM_QUICK_LINK_NOT_FOUND = "iam.quick.link.not.found";
        public static final String IAM_QUICK_LINK_SCOPE_INVALID = "iam.quick.link.scope.invalid";
        public static final String IAM_QUICK_LINK_ID_IS_NULL = "iam.quick.link.id.is.null";
        public static final String IAM_QUICK_LINK_PERMISSION_CHECK_FAILED = "iam.quick.link.permission.check.failed";
    }

    /**
     * 成员角色异常code
     */
    public static class MemberRoleCode {
        private MemberRoleCode() {
        }

        public static final String IAM_MEMBERROLE_DELETE = "iam.memberRole.delete";
        public static final String IAM_MEMBERROLE_NOTEXIST = "iam.memberRole.notExist";
        public static final String IAM_MEMBER_ROLE_INSERT_PROJECT_NOT_EXIST = "iam.memberRole.insert.project.not.exist";
        public static final String IAM_MEMBER_ROLE_INSERT_ORGANIZATION_NOT_EXIST = "iam.memberRole.insert.organization.not.exist";
        public static final String IAM_MEMBER_ROLE_HAS_EXISTED = "iam.memberRole.has.existed";
        public static final String IAM_MEMBER_ROLE_CREATE = "iam.memberRole.create";
        public static final String IAM_MEMBER_ROLE_NULL = "iam.memberRole.null";
        public static final String IAM_MEMBERROLESERVICEIMPL_UPDATEMEMBERROLE_EVENT = "iam.memberRoleServiceImpl.updateMemberRole.event";
    }

    /**
     * 工作日历
     */
    public static class WorkCalendarErrorCode {
        private WorkCalendarErrorCode() {
        }

        public static final String IAM_CALENDARID_EMPTY = "iam.calendarId.empty";
        public static final String IAM_TIMEZONEWORKCALENDAR_NOTFOUND = "iam.TimeZoneWorkCalendar.notFound";
        public static final String IAM_WORKCALENDAR_HOLIDAYREF_CREATE = "iam.workCalendar.HolidayRef.create";
        public static final String IAM_TIMEZONEWORKCALENDAR_UPDATE = "iam.TimeZoneWorkCalendar.update";
        public static final String IAM_TIMEZONEWORKCALENDAR_CREATE = "iam.TimeZoneWorkCalendar.create";
        public static final String IAM_TIMEZONEWORKCALENDARREF_CREATE = "iam.TimeZoneWorkCalendarRef.create";
        public static final String IAM_TIMEZONEWORKCALENDARREF_DELETE = "iam.TimeZoneWorkCalendarRef.delete";
        public static final String IAM_WORKDAY_NULL = "iam.workDay.null";
        public static final String IAM_WORKDAY_STATUS = "iam.workDay.status";
        public static final String IAM_WORKDAY_ERROR = "iam.workDay.error";

    }

    /**
     * 工作组异常code
     */
    public static class WorkGroupErrorCode {
        private WorkGroupErrorCode() {
        }

        public static final String IAM_WORK_GROUP_INSERT = "iam.work.group.insert";
        public static final String IAM_WORK_GROUP_PARENT_NULL = "iam.work.group.parent.null";
        public static final String IAM_WORK_GROUP_NAME_NULL = "iam.work.group.name.null";
        public static final String IAM_WORK_GROUP_UPDATE = "iam.work.group.update";
        public static final String IAM_WORK_GROUP_ID_NULL = "iam.work.group.id.null";
        public static final String IAM_WORK_GROUP_USER_REL_INSERT = "iam.work.group.user.rel.insert";

    }

    /**
     * ldap
     */
    public static class LdapErrorCode {
        private LdapErrorCode() {
        }

        public static final String IAM_LDAPSYNCUSERTASK_COUNTDOWNLATCH = "iam.ldapSyncUserTask.countDownLatch";
        public static final String IAM_SYNCLDAPUSER_ORGANIZATIONCODEEMPTY = "iam.syncLdapUser.organizationCodeEmpty";
        public static final String IAM_LDAPSYNCUSERTASK_ORGANIZATIONNOTNULL = "iam.ldapSyncUserTask.organizationNotNull";
        public static final String IAM_LDAP_CONNECT = "iam.ldap.connect";
        public static final String IAM_LDAP_AUTHENTICATE = "iam.ldap.authenticate";
        public static final String IAM_LDAP_NOT_EXIST = "iam.ldap.not.exist";
        public static final String IAM_LDAP_ATTRIBUTE_MATCH = "iam.ldap.attribute.match";
        public static final String IAM_LDAP_SERVERADDRESS_EMPTY = "iam.ldap.serverAddress.empty";
        public static final String IAM_LDAP_LOGINNAMEFIELD_EMPTY = "iam.ldap.loginNameField.empty";
        public static final String IAM_LDAP_EMAILFIELD_EMPTY = "iam.ldap.emailField.empty";
        public static final String IAM_LDAP_OBJECTCLASS_EMPTY = "iam.ldap.objectClass.empty";
        public static final String IAM_ORGANIZATION_LDAP_AUTO_EXIST = "iam.ldap.auto.exist";
        public static final String IAM_LDAP_AUTO_CREATE = "iam.ldap.auto.create";
        public static final String IAM_LDAP_AUTO_UPDATE = "iam.ldap.auto.update";
        public static final String IAM_LDAP_AUTO_NO_FREQUENCY_TYPE = "iam.ldap.auto.no.frequency.type";
        public static final String IAM_LDAP_SYNCLDAPUSER_FILTERSTREMPTY = "iam.ldap.syncLdapUser.filterStrEmpty";

    }

    /**
     * dashboard异常code
     */
    public static class DashboardErrorCode {
        private DashboardErrorCode() {
        }

        public static final String IAM_DASHBOARD_NOT_EXIST = "iam.dashboard.not.exist";
        public static final String IAM_DASHBOARD_NOT_ASSIGN = "iam.dashboard.not.assign";
        public static final String IAM_DASHBOARD_ALREADY_ASSIGN = "iam.dashboard.already.assign";
    }

    /**
     * 其他不好分类异常code
     */
    public static class OtherErrorCode {
        private OtherErrorCode() {
        }

        public static final String IAM_ENTERPRISEINFO_SAVE = "iam.enterpriseInfo.save";
        public static final String IAM_ENCODE_URL = "iam.encode.url";
        public static final String IAM_DEFAULT_TENANT_INIT = "iam.default.tenant.init";
        public static final String IAM_CORK_CALENDAR_YEAR_UPDATE = "iam.cork.calendar.year.update";
        public static final String IAM_IMAGE_CUT = "iam.image.cut";
        public static final String IAM_WHICH_COLUMN_ILLEGAL = "iam.whichColumn.illegal";
        public static final String IAM_ORGANIZATIONUSERSERVICE_UPDATEUSER_EVENT = "iam.organizationUserService.updateUser.event";
        public static final String IAM_IOEXCEPTION = "IOException";
        public static final String IAM_BYTEARRAYOUTPUTSTREAM = "iam.byteArrayOutputStream";
        public static final String IAM_FEIGN_INVOKE = "iam.feign.invoke";
        public static final String IAM_CONTEXT_SET = "iam.context.set";
        public static final String IAM_FILE_NOT_XLS_OR_XLSX = "iam.file.not.xls.or.xlsx";
        public static final String IAM_WORKBOOK_WRITE_OUTPUT_STREAM = "iam.workbook.write.output.stream";
        public static final String IAM_UNSUPPORTEDENCODINGEXCEPTION = "UnsupportedEncodingException";
        public static final String IAM_INSTANTIATE_CONSTRUCTOR_FAILED = "iam.instantiate.constructor.failed";
        public static final String PARSEEXCEPTION = "ParseException";
        public static final String IAM_DATE_FORMAT = "iam.date.format";
        public static final String IAM_PAGE_NOT_SUPPORTED_FOR_SORT = "iam.page.not.supported.for.sort";
        public static final String IAM_STRINGUTIL_GETTOSTRING = "iam.stringUtil.getToString";
        public static final String IAM_TIME_CONVERSION = "iam.time.conversion";
        public static final String IAM_PROPERTYMAP_NOT_CONTAIN_CELL = "iam.propertyMap.not.contain.cell";
        public static final String IAM_INSTANTIATION_CLASS = "iam.instantiation.class";
        public static final String IAM_JACKSON_UNMARSHAL = "iam.jackson.unmarshal";
        public static final String IAM_JSON_DECRYPT = "iam.json.decrypt";
        public static final String IAM_PARAMS_INVALID = "iam.params.invalid";
        public static final String IAM_REPORT_MODULE_IS_NULL = "iam.report.module.is.null";

    }

    /**
     * excel异常code
     */
    public static class ExcelErrorCode {
        private ExcelErrorCode() {
        }

        public static final String IAM_EXCEL_USER_EMPTY = "iam.excel.user.empty";
        public static final String IAM_EXCEL_READ = "iam.excel.read";
        public static final String IAM_EXCEL_ILLEGAL_COLUMN = "iam.excel.illegal.column";
        public static final String IAM_EXCEL_UPLOADHISTORY_INSERT = "iam.excel.uploadHistory.insert";
        public static final String IAM_EXCEL_ENCODE_URL = "iam.excel.encode.url";
        public static final String IAM_EXCEL_MEMBERROLE_EMPTY = "iam.excel.memberRole.empty";
        public static final String IAM_SHEET_TITLE_NULL = "iam.sheet.title.null";
        public static final String IAM_SHEET_PROPERTYMAP_EMPTY = "iam.sheet.propertyMap.empty";
        public static final String IAM_SHEET_DATA_EMPTY = "iam.sheet.data.empty";
        public static final String IAM_SHEET_CLAZZ_EMPTY = "iam.sheet.clazz.empty";
        public static final String IAM_EXCEL_HEADERS_EMPTY = "iam.excel.headers.empty";
        public static final String IAM_EXCEL_EXPORT = "iam.excel.export";
        public static final String IAM_EXCEL_NAME_EMPTY = "iam.excel.name.empty";
    }

    /**
     * layout异常code
     */
    public static class LayoutErrorCode {
        private LayoutErrorCode() {
        }

        public static final String IAM_LAYOUT_APPLY_TYPE_NULL = "iam.layout.apply.type.null";
        public static final String IAM_LAYOUT_COLUMN_REL_INSERT = "iam.layout.column.rel.insert";
        public static final String IAM_LAYOUT_INSERT = "iam.layout.insert";
        public static final String IAM_LAYOUT_SAVE = "iam.layout.save";
    }

    /**
     * Menu异常code
     */
    public static class MenuErrorCode {
        private MenuErrorCode() {
        }

        public static final String IAM_MENU_PARAMS_NOT_NULL = "iam.menu.params.not.null";
    }

    public static class SysSettingCode {
        private SysSettingCode() {
        }

        public static final String IAM_SETTING_MAXLENGTH_LESSTHAN_MINLENGTH = "iam.setting.maxLength.lessThan.minLength";
        public static final String IAM_SETTING_INSERT = "iam.setting.insert";
        public static final String IAM_SETTING_UPDATE = "iam.setting.update";
        public static final String IAM_SETTING_LOGO_SAVE = "iam.setting.logo.save";
    }

    /**
     * feign异常code
     */
    public static class FeignErrorCode {
        private FeignErrorCode() {
        }

        public static final String IAM_ADMIN_SERVICE_CODES_LIST = "iam.admin.service.codes.list";
        public static final String IAM_AGILE_PROJECTINFOBYPROJECTID_QUERY = "iam.agile.projectInfoByProjectId.query";
        public static final String IAM_ASGARD_QUARTZTASK_DISABLEORG = "iam.asgard.quartzTask.disableOrg";
        public static final String IAM_ASGARD_QUARTZTASK_DISABLEPROJECT = "iam.asgard.quartzTask.disableProject";
        public static final String IAM_ASGARD_QUARTZTASK_CREATEORGANIZATION = "iam.asgard.quartzTask.createOrganization";
        public static final String IAM_ASGARD_QUARTZTASK_CREATESITE = "iam.asgard.quartzTask.createSite";
        public static final String IAM_ASGARD_QUARTZTASK_DELETESITE = "iam.asgard.quartzTask.deleteSite";
        public static final String IAM_ASGARD_QUARTZTASK_DELETEORGANIZATION = "iam.asgard.quartzTask.deleteOrganization";
        public static final String IAM_ASGARD_QUARTZTASK_ENABLEORGANIZATION = "iam.asgard.quartzTask.enableOrganization";
        public static final String IAM_ASGARD_METHOD_QUERY = "iam.asgard.method.query";
        public static final String IAM_ASGARD_METHOD_QUERY_SITE = "iam.asgard.method.query.site";
        public static final String IAM_ASGARD_RETRY = "iam.asgard.retry";
        public static final String IAM_ASGARD_ORGTASK_DISABLE = "iam.asgard.orgTask.disable";
        public static final String IAM_ASGARD_TASKDETAIL_GET = "iam.asgard.taskDetail.get";
        public static final String IAM_ASGARD_INSTANCE_DETAIL = "iam.asgard.instance.detail";
        public static final String IAM_ASGARD_METHODS_LIST = "iam.asgard.methods.list";
        public static final String IAM_ASGARD_LDAP_SYNC_METHOD_GET = "iam.asgard.ldap.sync.method.get";
        public static final String IAM_ASGARD_QUARTZ_TASK_CREATE = "iam.asgard.quartz.task.create";
        public static final String IAM_ASGARD_SAGA_QUERY = "iam.asgard.saga.query";
        public static final String IAM_QUERY_INSTANCE_DETAIL = "iam.asgard.query.instance.detail";
        public static final String IAM_DEVOPS_GITLAB_EMAIL_CHECK = "iam.devops.gitlab.email.check";
        public static final String IAM_DEVOPS_APP_SERVER_QUERY = "iam.devops.app.server.query";
        public static final String IAM_DEVOPS_DEPLOY_RECORD_QUERY = "iam.devops.deploy.record.query";
        public static final String IAM_DEVOPS_GITLAB_USER_ID_QUERY = "iam.devops.gitlab.user.id.query";
        public static final String IAM_MESSAGE_ONLINE_USER_IDS_GET = "iam.message.online.user.ids.get";
        public static final String IAM_PLATFORM_CONFIG_UPDATE = "iam.platform.config.update";
    }

    /**
     * agile 相关异常code
     */
    public static class AgileErrorCode {
        private AgileErrorCode() {
        }

        public static final String IAM_RANK_MORETHANONE = "iam.rank.moreThanOne";
        public static final String IAM_RANK_LEASTONEDIGIT = "iam.rank.leastOneDigit";
        public static final String IAM_RANK_NUMERALSYSNOTEQUAL = "iam.rank.numeralSysNotEqual";
        public static final String IAM_RANK_NOTVALIDDIGIT = "iam.rank.notValidDigit";
        public static final String IAM_RANK_BUCKETNOTEQUAL = "iam.rank.bucketNotEqual";
        public static final String IAM_RANK_NOTBETWEENRANK = "iam.rank.notBetweenRank";
        public static final String IAM_RANK_NOTSUITABLEDISTANCE = "iam.rank.notSuitableDistance";
        public static final String IAM_RANK_UNSUPPORTEDNUMERALSYSTEM = "iam.rank.unsupportedNumeralSystem";
        public static final String IAM_RANK_UNKNOWNBUCKET = "iam.rank.unknownBucket";
        public static final String IAM_RANK_ILLEGALRANKVALUE = "iam.rank.illegalRankValue";
    }


}
